package cn.kgc.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author wangyue
 * @version 1.0
 * 读取sms.properties文件
 */
@Data
@Component
@PropertySource(value = "classpath:sms.properties")
@ConfigurationProperties(prefix = "alibaba.access")
public class SmsProperties {
    private String keyId;
    private String keySecret;
    private String templateCode;
    private String signName;
}
